package com.app.reportproblem.frgament;

import com.app.reportproblem.bean.EventInfo;
import com.app.reportproblem.bean.ObjProblem;
import com.google.android.gms.maps.MapFragment;
import com.google.android.gms.maps.model.Marker;
import com.google.android.gms.maps.model.MarkerOptions;

public class MainMapFragement extends MapFragment {
	
	public Marker placeMarker(EventInfo eventInfo) {
		Marker m  = getMap().addMarker(new MarkerOptions()
			.position(eventInfo.getLatLong())
			.title(eventInfo.getName()));
		
		return m;
	}
}

